package domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Getter
@Setter
@ToString
public class Table {
  /**
   * 数据库类型如mysql、hive
   */
  private String dbType;
  /**
   * 从哪个DDL解析出来
   */
  private String originDDL;
  /**
   * 库信息
   */
  private String schema;
  /**
   * 表英文名称
   */
  private String tableName;
  /**
   * 表注释
   */
  private String tableComment;
  /**
   * 表额外属性JSON，通过DorisProperty、HiveProperty...转换
   */
  private String properties;
  private List<Column> columnList;

  private List<String> indexSQLList;

  private List<String> foreignKeyList;

  private StringBuilder tableOptions;
}
